package ${basePackage}.dao;

import ${basePackage}.core.Mapper;
import ${basePackage}.model.${modelNameUpperCamel};
import java.util.List;
import java.util.Map;

/**
 * Created by ${author} on ${date}.
 */
public interface ${modelNameUpperCamel}Mapper extends Mapper<${modelNameUpperCamel}> {

    List <${modelNameUpperCamel}> get${modelNameUpperCamel}s(Map map);

    Integer get${modelNameUpperCamel}sCount();

    Integer add${modelNameUpperCamel}(${modelNameUpperCamel} ${modelNameLowerCamel});

    Integer update${modelNameUpperCamel}(${modelNameUpperCamel} ${modelNameLowerCamel});

    Integer update${modelNameUpperCamel}Flag(Map map);

    }
